package com.gqemf.repository;

import com.gqemf.entity.Emfhistory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author chan
 */
@Repository
public interface EmfhistoryRepository extends JpaRepository<Emfhistory,Long> {
    @Override
    List<Emfhistory> findAll();

    Emfhistory findFirstByOrderByIdDesc();
}
